package com.faeple.report.dao.sqlmap;

import java.util.HashMap;

import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.faeple.report.dao.ReportDao;

@Repository
public class SqlMapReportDao implements ReportDao {

	@Autowired
	private SqlSession sqlSession;
	
	@Override
	public int submitReport(HashMap<String, String> param) {
		return sqlSession.insert("ReportMapper.submitReport",param);
	}

}
